package top.czttn.modules.tx.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 公司职位
 * 
 * @author chenzhenjian
 * @email 493804781@qq.com
 * @date 2018-10-17 00:52:30
 */
@TableName("sys_position")
public class SysPositionEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long cpId;

	public Long getCpId() {
		return cpId;
	}

	public void setCpId(Long cpId) {
		this.cpId = cpId;
	}
	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 岗位名称
	 */
	private String name;
	/**
	 * 是否启用
	 */
	private Integer ifOn;
	/**
	 * 服务岗位描述
	 */
	private String description;
	/** 是否通用基础数据*/
	private Boolean ifCommon;

	public Boolean getIfCommon() {
		return ifCommon;
	}

	public void setIfCommon(Boolean ifCommon) {
		this.ifCommon = ifCommon;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：岗位名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：岗位名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：是否启用
	 */
	public void setIfOn(Integer ifOn) {
		this.ifOn = ifOn;
	}
	/**
	 * 获取：是否启用
	 */
	public Integer getIfOn() {
		return ifOn;
	}
	/**
	 * 设置：服务岗位描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：服务岗位描述
	 */
	public String getDescription() {
		return description;
	}
}
